/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gcs;

import gcs.interfaz.MenuPrincipal;
import gcs.persistencia.GestorBD;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Rafe
 */
public class Main {

    public static void main(String args[]) {
        
        try {
            
            GestorBD.inicilizar();
            
            System.out.println("Bienvenidos a GCS");
            
            MenuPrincipal menu = new MenuPrincipal();
            
            menu.ejecutarMenu();
            
            GestorBD.finalizar();
            
        } catch (Exception ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }

    }
    
    
    
}
